import Vue from 'vue'
export const cultivate = {
  courseAll: params => {
    return Vue.prototype.$post('/foster/kcxx/selectList', params)
  },
  courseList: params => {
    return Vue.prototype.$post('/foster/kcxx/list', params)
  },
  /*------------ 排课信息管理 ------------*/
  // 教师获取排课信息表列表
  queryPkxxlist: params => {
    return Vue.prototype.$post('/teacherClient/queryPkxxlist', params)
  },
  // 获取听课学生名单表列表
  tkxsmdList: params => {
    return Vue.prototype.$post('/teacherClient/tkxsmdList', params)
  },
  // 导出听课学生名单表列表
  tkxsmdExport: params => {
    return Vue.prototype.$post('/teacherClient/tkxsmdExport', params)
  },
  /*------------ 培养计划管理 ------------*/
  // 培养计划审核
  pyjhCheck: params => {
    return Vue.prototype.$postJson('/teacherClient/pyjh/check', params)
  },
  // 获取培养计划表列表
  pyjhList: params => {
    return Vue.prototype.$post('/teacherClient/pyjh/list', params)
  },
  // 获取培养计划需重置的数据列表
  pyjhResetList: params => {
    return Vue.prototype.$post('/teacherClient/pyjh/resetList', params)
  },
  // 培养计划重置
  pyjhReset: params => {
    return Vue.prototype.$post('/teacherClient/pyjh/reset', params)
  },
  // 获取培养计划审核列表
  pyjhShList: params => {
    return Vue.prototype.$post('/teacherClient/pyjh/shList', params)
  },
  pyjhDetail: id => {
    return Vue.prototype.$get(`/teacherClient/pyjh/info/${id}`)
  },
  /*------------ 课程成绩管理 ------------*/
  kccjDrcjlrAdd: params => {
    return Vue.prototype.$postJson('/teacherClient/kccj/drcjlrAdd', params)
  },
  // 获取单科成绩录入学生列表
  kccjDkcjlrxsList: params => {
    return Vue.prototype.$post('/teacherClient/kccj/dkcjlrxsList', params)
  },
  kccjDkcjlrAdd: params => {
    return Vue.prototype.$postToDow('/teacherClient/kccj/dkcjlrAdd', params)
  },
  // 单人成绩录入前验证是否可以录入
  kccjDrcjlrCheck: params => {
    return Vue.prototype.$post('/teacherClient/kccj/drcjlrCheck', params)
  },
  // 单人成绩录入提交前判断所有录入学生的成绩是否已经存在，如果存在并且已审核或已发布则不允许提交，如果存在当已提交未审核则提示是否覆盖，覆盖的话直接调用drcjlrAdd接口提交
  kccjXscjExist: params => {
    return Vue.prototype.$postJson('/teacherClient/kccj/xscjExist', params)
  },
  scoreSubAddList: params => {
    return Vue.prototype.$post('/teacherClient/kccj/getStudentInfo', params)
  },
  // 学生成绩查询
  kccjXsList: params => {
    return Vue.prototype.$post('/teacherClient/kccj/xsList', params)
  },
  // 已发布成绩统计
  kccjYfbcjStatis: params => {
    return Vue.prototype.$post('/teacherClient/kccj/yfbcjStatis', params)
  },
  // 单科成绩打印
  dkcjPrint: params => {
    return Vue.prototype.$post('/teacherClient/kccj/dkcjPrint', params)
  },
  // 已发布的考试课程查询
  yfbList: params => {
    return Vue.prototype.$post('/teacherClient/kccj/yfbList', params)
  },
  // 学生成绩批量打印
  xscjPrintBatch: params => {
    return Vue.prototype.$post('/teacherClient/kccj/xscjPrintBatch', params)
  },
  /*------------ 论文信息表操作接口 ------------*/
  // 导师审核论文
  lwxxDssh: params => {
    return Vue.prototype.$post('/teacherClient/lwxx/dssh', params)
  },
  // 院系审核时论文信息表列表
  lwxxDsshList: params => {
    return Vue.prototype.$post('/teacherClient/lwxx/dsshList', params)
  },
  // 获取论文信息表明细
  lwxxInfo: params => {
    return Vue.prototype.$get(`/teacherClient/lwxx/info/${id}`, params)
  },
  // 获取论文信息表列表
  lwxxList: params => {
    return Vue.prototype.$post('/teacherClient/lwxx/list', params)
  },
  /*------------ 开题报告接口 ------------*/
  // 开题报告审核
  checkKtbg: params => {
    return Vue.prototype.$postJson('/teacherClient/checkKtbg', params)
  },
  // 开题报告统计
  ktbgtjList: params => {
    return Vue.prototype.$post('/teacherClient/ktbgtjList', params)
  },
  // 开题报告查询
  ktbgList: params => {
    return Vue.prototype.$post('/teacherClient/ktbgList', params)
  },
  // 开题报告是否涉密修改
  ktbgSfsmUpdate: params => {
    return Vue.prototype.$post('/teacherClient/updateKtbg', params)
  },
  // 获取开题报告信息表明细
  ktbgInfo: id => {
    return Vue.prototype.$get(`/teacherClient/ktbgInfo/${id}`)
  },
  // 开题报告待审核列表
  ktbgUncheckList: params => {
    return Vue.prototype.$post('/teacherClient/ktbgUncheckList', params)
  },
  /*------------ 预答辩接口 ------------*/
  // 预答辩审核
  ydbCheck: params => {
    return Vue.prototype.$postJson('/teacherClient/ydbCheck', params)
  },
  // 获取预答辩信息表列表
  ydbList: params => {
    return Vue.prototype.$post('/teacherClient/ydbList', params)
  },
  // 获取预答辩信息表明细
  ydbDetail: id => {
    return Vue.prototype.$get(`/teacherClient/ydbInfo/${id}`)
  },
  // 获取预答辩信息表列表
  ydbshList: params => {
    return Vue.prototype.$post('/teacherClient/ydbshList', params)
  },
  /*------------ 修改教职工信息接口 ------------*/
  // 获取教职工信息表明细
  teacherDetail: bh => {
    return Vue.prototype.$get(`/teacherClient/getJzgxx/${bh}`)
  },
  teacherUpdate: params => {
    return Vue.prototype.$post('/teacherClient/update', params)
  },
  /*------------ 中期考核信息接口 ------------*/
  // 导师审核
  dsshCheck: params => {
    return Vue.prototype.$post('/teacherClient/zqkhxx/dssh', params)
  },
  // 导师审核列表
  dsshList: params => {
    return Vue.prototype.$post('/teacherClient/zqkhxx/dsshList', params)
  },
  // 获取中期考核信息表明细
  dsshDetail: xh => {
    return Vue.prototype.$get(`/teacherClient/zqkhxx/info/${xh}`)
  },
  // 中期考核信息查询列表
  dsshQuery: params => {
    return Vue.prototype.$post('/teacherClient/zqkhxx/list', params)
  },
    // 中期考核统计列表
  dsshQueryStatictis: params => {
    return Vue.prototype.$post('/teacherClient/zqkhxx/listStatictis', params)
  },
  /*------------ 中期考核信息接口 ------------*/
  // 住宿须知
  zsxz: params => {
    return Vue.prototype.$post('/teacherClient/zsxz', params)
  },
  //外宿审核
  wsCheck: params => {
    return Vue.prototype.$post('/teacherClient/wsCheck', params)
  },
  // 获取学生住宿申请表明细
  wsInfo: id => {
    return Vue.prototype.$get(`/teacherClient/wsInfo/${id}`)
  },
  // 导师获取学生住宿申请列表
  wsList: params => {
    return Vue.prototype.$post('/teacherClient/wsList', params)
  },
  // 导师获取学生住宿申请待审核列表
  wsUncheckList: params => {
    return Vue.prototype.$post('/teacherClient/wsUncheckList', params)
  },
  /*------------  ------------*/
  zqkhBack: id => {
    return Vue.prototype.$post(`teacherClient/zqkhxx/back/${id}`)
  },
  pyjhPrint: ids => {
    return Vue.prototype.$post(`teacherClient/pyjh/pyjhPrint`, ids)
  },
  tksqAdd: params => {
    return Vue.prototype.$postJson(`teacherClient/tksq/add`, params)
  },
  pkClassroomList: params => {
    return Vue.prototype.$post(`teacherClient/queryClassroomByPkxx`, params)
  },
  tkDetail: id => {
    return Vue.prototype.$get(`teacherClient/tksq/info/${id}`)
  },
  tkList: id => {
    return Vue.prototype.$post(`teacherClient/tksq/list`)
  },
  pkDetail: id => {
    return Vue.prototype.$get(`/teacherClient/pkxxInfo/${id}`)
  },
  //不合格成绩查询
  scoreFailList: params => {
    return Vue.prototype.$post('/teacherClient/kccj/bhgcjList', params)
  },
  scoreFailChange: params => { // 不合格成绩类型修改
    return Vue.prototype.$post('/teacherClient/kccj/bhglxChange', params)
  },
  bhgcjCheck: params =>{
    return Vue.prototype.$postJson('/foster/kccj/bhgcjCheck',params)
  },
  ycjruList: params =>{
    return Vue.prototype.$post('/foster/kccj/ycjruList',params)
  },
  dkcjtj: params =>{
    return Vue.prototype.$post('/foster/kccj/dkcjtj',params)
  },
  cjruList: params =>{
    return Vue.prototype.$post('/foster/kccj/cjruList',params)
  },
  teacherClientYX: params => {
    return Vue.prototype.$post(`teacherClient/kccj/yx/pk`, params)
  },
  teacherClientZY: params => {
    return Vue.prototype.$post(`teacherClient/kccj/kc/pk`, params)
  },
  selectList4AddCourse: params => {
    return Vue.prototype.$post(`foster/kcxx/selectList4AddCourse`, params)
  },
}
